<?php

namespace Xin\LaravelFortify\Model;

use DateTimeInterface;

trait SerializeDate
{
	/**
	 * @inheritDoc
	 */
	protected function serializeDate(DateTimeInterface $date): string
	{
		return $date->format('Y-m-d H:i:s');
	}
}
